/**
* AutoSWF - Cody Cushing. March 26, 2009
* Copyright (c) 2009 Cody Cushing
* No use restrictions. Maintain this notice in all versions. 
**/

package com.autoswf.automator
{
	import flash.events.Event;

	/**
	 * Event used to notify changes in AutomationClient's descriptor registry.
	 */
	public class AutomationEvent extends Event
	{
		/** An event or object has bubbled up and been stored.  */
		public static var DESCRIPTOR_ADDED:String = "descriptorAdded";
		
		/** Stored description has been been removed from the list, deserialized and sent down the Links.  */
		public static var DESCRIPTOR_REMOVED:String = "descriptorRemoved";
		
		/** A collection of serialized events is being piped into the application. */
		public static var SCRIPT_STARTED:String = "scriptStarted";
		
		/** The script has finished. */
		public static var SCRIPT_FINISHED:String = "scriptFinished";
		
		
		/**
		 * Constructor.
		 */
		public function AutomationEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
	}
}